package com.ywk.pattern._9_protype._9_6;


public class Main {
    public static void main(String[] args) throws CloneNotSupportedException {
        Resume a = new Resume("大鸟");
        a.SetPersonlInfo("男", "20");
        a.SetWorkExperience("1998-2030", "tencent");

        Resume b = (Resume) a.Clone();
        b.SetWorkExperience("1998-2070", "alibaba");

        Resume c = (Resume) a.Clone();
        c.SetPersonlInfo("男", "29");

        a.Display();
        b.Display();
        c.Display();


    }


}
